WP_Defender\Model\Scan C

Total Complexity 102
Dependencies 7
Dependents 22
Total lines 867
Lines of code 446
Logical lines of code 210
Comment lines 208
Methods 30
Properties 9

Methods 30

Method Rating Maintainability Complexity Lines of code
to_array()
B
36 16 79
prepare_issues()
A
41 14 53
get_issues()
A
44 13 40
get_status_text()
A
55 8 20
remove_related_issue_by()
S
55 6 18
count()
S
55 5 21
unignore_issue()
S
57 4 16
ignore_issue()
S
58 4 16
get_issue()
S
56 3 19
calculate_percent()
S
63 3 10
is_issue_whitelisted()
S
65 3 9
create()
S
59 2 14
delete()
S
62 2 12
whitelisted_files()
S
59 1 17
delete_idle()
S
66 2 9
is_positive_int()
S
79 2 3
get_all_scan_types()
S
66 1 10
get_abandoned_types()
S
73 1 6
is_issue_ignored()
S
75 1 4
remove_issue()
S
75 1 4
get_scan_types_for_whole_folder()
S
71 1 7
get_active()
S
70 1 6
get_core_check()
S
71 1 6
get_last()
S
68 1 7
get_last_all()
S
68 1 7
add_item()
S
65 1 9
update_ignore_list()
S
73 1 5
threshold_date_time_object()
S
72 1 5
threshold_date_time_mysql()
S
71 1 6
get_idle()
S
67 1 8